#ifndef TESTINTERFACE_H
#define TESTINTERFACE_H

#include <QWidget>
#include <QTimer>
#include <QMap>
#include <QLineEdit>
#include <QString>
#include <QVariantMap>

#include "freyabaseaction.h"

namespace Ui {
class TestInterface;
}

class TestInterface : public QWidget,public FreyaBaseAction
{
    Q_OBJECT

public:
    explicit TestInterface(QWidget *parent = nullptr);
    ~TestInterface();

protected:
    void Execute(const FreyaData data);

private slots:
    void on_btn_readfile_clicked();
    void on_cbx_parameter_currentIndexChanged(const QString &arg1);
    void on_StartBtn_clicked();
    void onDoprocessTimer();
    void on_btn_clear_clicked();

private:
    Ui::TestInterface           *ui;
    QTimer                      *m_timer;
    QObjectList                 m_ItemList;
    QMap<QString, QLineEdit*>   m_ValueMap;
};

#endif // TESTINTERFACE_H
